﻿using System;
using System.Collections.Generic;
using Data.Common;
using Data.Model;

namespace DataAccess.AccountManage
{
    public interface IOperate
    {
        int AddReCharge(recharge rc);
        int AddReceipt(receipt receipt);
        ResultInfo<bool> UnlockCpuCard(Decimal costMoney, string cpuno, int consumeId, string operateaddress,Int64 operateaddressid, string operatepsamid, Int64 operatorid);
        ResultInfo<bool> RechargeYourPurse(Decimal initialMoney, Decimal amountMoney, string cpuno,string operateaddress, Int64 operateaddressid, string operatepsamid, Int64 operatorid);
        ResultInfo<Dictionary<string, Decimal>> GetBorrowBikeCost(string cpuno, string bikeid, DateTime startTime);
        ResultInfo<PagingDataSet<jsh_consume>> GetConsumes(int pageIndex, int pageSize, string cpuid, string idCardNo,string userName, string telephone);
        ResultInfo<recharge> GetCurrentRecharge(string cpuno);
    }
}
